<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
	<head>
		<meta charset="utf-8">
		<title>Supplier management : see detail</title>
	</head> 
	<body>
		<header>
		<h1>Supplier</h1>
			<nav>
   				<%@include file="Nav.jsp" %>
			</nav>
		</header>
		<h2>Current supplier: ${supplier.id}</h2>
   			<div>
   				<div><b>Id:</b><c:out value="${supplier.id}"/> 
   					<a href="supplier/detail?id=<c:out value="${supplier.id}"/>">Detail</a> | 
   					<a href="supplier/update?id=<c:out value="${supplier.id}"/>">Update</a> | 
   					<a href="supplier/delete?id=<c:out value="${supplier.id}"/>">Delete</a>
   				</div>
   				<p><b>Name</b> <c:out value="${supplier.name}"/></p>
   				 <ul>
   				 	<li><b>Address</b> <c:out value="${supplier.address}"/></li>
   				 	<li><b>Phone</b> <c:out value="${supplier.phone}"/></li>
   				 	<li><b>Email</b> <c:out value="${supplier.email}"/></li>
   				 	<li><b>idCity</b> <c:out value="${supplier.idCity}"/></li>
   				 </ul>
   			<div>

	</body>
</html>